<?php 
class Main extends CI_Controller{

	function index(){
		$this->load->model('main_model');
		$this->load->library('table');
		
		$data['records'] = $this->main_model->getAll();
		$data['in'] = $this->main_model->getAllIN();
		
		//$data['in1'] = $this->table->generate($this->main_model->getAllIN());
		$this->load->view('main',$data);
	}
}